package day7;

public class testBlock {
    {
        System.out.println("构造代码块");
    }
    public testBlock() {
        System.out.println("构造方法");
    }
    static {
        System.out.println("静态代码块");
    }
    public  void test(){
        System.out.println("普通");
    }
    public static void main(String[] args) {
        testBlock testBlock = new testBlock();
        testBlock.test();
    }
}
    class Test{
        public static void main(String[] args) {

        }
}
